import type { ArticleResData, ArticlesParams } from "@/types"
import { RequestAxios } from "@/utils/request"

export const getArticleAPI = (params:ArticlesParams) =>{
    return RequestAxios.get<ArticleResData>('/articles',params)
}